package com.example.tests;

import org.testng.annotations.Test;

	public class ContactModificationTests extends TestBase {
		
		@Test
		public void testFerstContactCanBeRemoved() throws Exception {
			ContactObject validContact = new ContactObject()
			.setFirstname("jyl")
			.setLastname("egorova")
			.setAddress("ggg")
			.setHome("ggg")
			.setMobile("ggg")
			.setWork("1111")
			.setEmail("egorova@jv.ru")
			.setEmail2("ggg")
			.setBday("1")
			.setBmonth("February")
			.setByear("1987")
			.setNew_group("123")
			.setAddress2("ggg")
			.setPhone2("ggg");	
		app.getContactHelper().modifyContact(0, validContact);
			// ERROR: Caught exception [ERROR: Unsupported command [isTextPresent]]
		}

	}